package com.clubs.coding.Service;

import com.clubs.coding.model.Vo.UserVo;
import com.clubs.coding.model.pojo.News;
import com.clubs.coding.model.pojo.User;
import com.clubs.coding.model.request.NewsReq;
import com.github.pagehelper.PageInfo;
import org.springframework.stereotype.Service;

import java.util.List;

public interface NewsService {


    PageInfo news(Integer pageNum, Integer pageSize, Integer type);

    PageInfo list(Integer pageNum, Integer pageSize, Integer isHome);

    News singleArticle(Integer newsId);

    void adminbulletin(NewsReq newsReq);

    void adminalter(Integer newsId, Integer show, Integer status);

    void updatenews(NewsReq newsReq);
}
